import serverConfig from "../config/server.config";
import ExpressApp from "../service/express/Express.app";

ExpressApp.get('/config/fetch', (_req, res) => {
  const config = require(`../${serverConfig.app.exportUrl}/metadata.json`);

  try {
    res.json(config)
  } catch (error) {
    res.send({})
  }
});
